html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dd,
dt,
dl {
  margin: 0;
  padding: 0;
}
ul,
li {
  list-style: none outside;
}
:active {
  outline: 0;
}
/* remove outline in firefox */
:focus {
  outline: 0;
}
::-moz-focus-inner {
  border: 0;
}
/* END: remove outline in firefox */
.middle {
  display: table-cell;
  vertical-align: middle;
}
.no-select {
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}
/* for syntaxhighlighter plugin */
.syntaxhighlighter {
  overflow: hidden;
  padding: 10px 0;
  border-radius: 5px;
}
.toolbar {
  display: none;
  /* don't show the ? in code area */
}
/* END */
html {
  height: 100%;
}
html body {
  height: 100%;
  background-color: #f5f6f7;
  font-family: "GE Inspira Cond", "consolas";
}
nav {
  position: fixed;
  top: 0;
  left: 10px;
  z-index: 999;
  margin-top: 5px;
  max-width: 320px;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}
nav .pin {
  position: absolute;
  right: -32px;
  top: 5px;
  width: 32px;
  height: 32px;
  background: url("");
  cursor: pointer;
}
nav .pin.active {
  background: url("");
}
nav span {
  display: block;
  padding: 5px;
  margin-top: 5px;
  margin-right: 5px;
  border: 1px solid #999;
  cursor: pointer;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  background: linear-gradient(top, rgba(244, 244, 244, 0.8), rgba(192, 192, 192, 0.6) 100%);
  background: -moz-linear-gradient(top, rgba(244, 244, 244, 0.8), rgba(192, 192, 192, 0.6) 100%);
  background: -webkit-linear-gradient(top, rgba(244, 244, 244, 0.8), rgba(192, 192, 192, 0.6) 100%);
}
nav span:active {
  background: linear-gradient(top, rgba(192, 192, 192, 0.6), rgba(244, 244, 244, 0.8) 100%);
  background: -moz-linear-gradient(top, rgba(192, 192, 192, 0.6), rgba(244, 244, 244, 0.8) 100%);
  background: -webkit-linear-gradient(top, rgba(192, 192, 192, 0.6), rgba(244, 244, 244, 0.8) 100%);
}
#wrapper {
  width: calc(98% - 320px);
  margin: 0 20px 20px 300px;
}
#wrapper h1 {
  border-color: #cccccc;
  background-color: #222;
  font-size: 24px;
  line-height: 60px;
  color: #eee;
  text-align: center;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}
#wrapper section {
  margin-top: 20px;
}
#wrapper section h2 {
  padding: 10px 15px;
  border: 1px solid #cccccc;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  background-color: #f5f5f5;
  font-size: 16px;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}
#wrapper section ul li {
  border: 1px solid #cccccc;
  border-top-style: none;
  background-color: white;    
}
#wrapper section ul li.text {
  padding: 5px 10px;
  font-family: "微软雅黑";
  font-size: 14px;
  line-height: 2em;
}
#wrapper section ul li:after {
  content: '';
  display: block;
  clear: both;
  height: 0;
}
#wrapper section ul li:hover {
  background-color: #f5f6f7;
}
#wrapper section ul li:hover * {
  background-color: #f5f6f7!important;
}
#wrapper section ul li .box {
}
#wrapper section ul li .box:nth-of-type(1) {
  float: left;
  width: 48%;
}
#wrapper section ul li .box:nth-of-type(2) {
  float: right;
  width: 48%;
}
#wrapper section ul li .box:only-child {
  float: left;
  width: 100%;
}
#wrapper section ul li:nth-last-of-type(1) {
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}
#wrapper section ul li.active {
  background-color: #FCF8E3;
}
#wrapper section ul li.active * {
  background-color: #FCF8E3!important;
}
#wrapper section ul li.active:hover * {
  background-color: #FCF8E3!important;
}
